package cn.itcast.web.shiro;

import org.apache.shiro.crypto.hash.Md5Hash;

public class Md5Demo {

    public static void main(String[] args) {
        String slat = "zhangsan@export.com";
        String password = "123";
        Md5Hash md5Hash = new Md5Hash(password,slat);
        System.out.println("123加盐加密后的字符串："+ md5Hash.toString());
    }
}
